<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        html,body{
            height: 100%;
        }
        body{
            display: flex;
            background-image: url(./images/bg.jpeg);
            justify-content: center;
            align-items: center;
        }
        .box{
            width: 400px;
            height: 500px;
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
        }
        .box h1{
            font-size: 20px;
            text-align: center;
            height: 60px;
            background-color: #87cefa;
            line-height: 60px;
            color: white;
        }
        .box .register{
            text-align: center;
            margin-top: 40px;
        }
        .box .register input{
            border-radius: 5px;
            margin-bottom: 15px;
            width: 85%;
            height: 40px;
            border: 1px solid rgba(128, 128, 128, 0.316);
            box-sizing: border-box;
            padding: 0 10px;
            outline: none;
        }
        .box .go-login a{
            color: rgba(128, 128, 128, 0.526);
            text-decoration: none;
            margin-left: 30px;
        }
        .box .btn{
            text-align: center;
            margin-top: 20px;
        }
        .box .btn button{
            width: 70px;
            height: 40px;
            background-color: #90ee90;
            border-radius: 5px;
            border: 1px solid  rgba(128, 128, 128, 0.316);
            color: white;
        }
    </style>
</head>
<body>
    <div class="box">
        <h1>注册</h1>
        <div class="register">
         <input type="text" placeholder="输入手机号" class="pho">
         <br>
         <input type="text" placeholder="输入姓名" class="name">
         <br>
         <input type="password" placeholder="输入密码" class="psw">
         <br>
         <input type="password" placeholder="输入确认密码" class="psw2">
         <br>
         <input type="text" placeholder="输入邮箱" class="ema">
        </div>
        <div class="go-login">
            <a href="./login.html">已有帐号，去登陆</a>
        </div>
        <div class="btn">
            <button>注册</button>
        </div>
    </div>
</body>
</html>
<script src="./axios.min.js"></script>
<script src="./register.js"></script>